# -*- coding: utf-8 -*-
"""
    xfree1-script
    ~~~~~~~~~~~~~~~~~~~~~
    文件描述：XFree启动脚本源文件,无需安装即可运行
    作者：xfree
    邮箱：cy_83k@qq.com
"""
import re
import sys

from xfree.cli.main import xfree

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
    sys.exit(xfree())
